From: Florian Müllner Date: Wed, 23 Sep 2015 16:49:02 +0000 (+0200) Subject: build: Replace deprecated GNOME_COMPILE_WARNINGS macro X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1184 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d2bedcc18224f38bd07999fc2e62977f5ebbb5c4;p=gnome-shell.git build: Replace deprecated GNOME_COMPILE_WARNINGS macro --- diff --git a/configure.ac b/configure.ac index b7baed894..80222b119 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,6 @@ AC_PREREQ(2.63) AC_INIT([gnome-shell],[3.18.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell]) +AX_IS_RELEASE([git-directory]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([src/shell-global.c]) @@ -220,7 +221,7 @@ if test "$enable_man" != no; then fi AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no) -GNOME_COMPILE_WARNINGS([error]) +AX_COMPILER_FLAGS() case "$WARN_CFLAGS" in *-Werror*) WARN_CFLAGS="$WARN_CFLAGS -Wno-error=deprecated-declarations" @@ -269,7 +270,7 @@ Build configuration: Prefix: ${prefix} Source code location: ${srcdir} Compiler: ${CC} - Compiler Warnings: $enable_compile_warnings + Compiler Warnings: $ax_enable_compile_warnings Support for NetworkManager: $have_networkmanager Support for GStreamer recording: $build_recorder